Latching Control Strategies for a Heaving Buoy Wave Energy Generator in a Random Sea