Check for cancellation of laptop menu

Fixes http://smf.cataclysmdda.com/index.php?topic=8631

The uimenu (see `uimenu::setup`, line 326) changes the retval of menu entries with retval -1, this does not happen with INT_MAX.