sysarch: improve checks for max user address
(cherry picked from commit 666303f5980896346c455bc949e49952220d02b7)