Implemented sys_get_random_number

Battlefield 4 Beta uses it. Does not let it load any further though.
NOTE: This is not that random, but it seems to be OK.
addr is updated, yes, but that change won't do anything outside the scope of this function, as addr is a local variable.