[ARM] 5402/1: fix a case of wrap-around in sanity_check_meminfo()