access_check: add missing early return statements

The returns apparently went missing in bd451c42b846ebf84d427972cdb668ea7e14f360
(thanks to Frank for looking into it!)

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>