The guard flag is only given to servers that are sufficiently fast and stable [dir-spec]. Stable means being available most of the time.
So yes, if your relay goes down due to hibernation this can result in your relay not getting the guard flag next time it becomes available. Clients will deal with this and just pick new/more guards.
I am not aware of any means to refuse the guard flag.