Fix a bug on Fedora Core 27 where RANDOM could output a negative number.
Apparently, the code did not expect RAND_MAX to ever be larger than 2**15. Also remove the defunct "#ifdef bsd" blocks, since these will never be used again in FMSLogo.
Authored by: david_costanzo 2018-05-14
Parent: [r4598]
Child: [r4600]