core: remove debug statement from z_acl.

(cherry picked from commit 3b8d9f3c7c7eec14e7e926db4d76e3e8f2f39dbf)
core: move rsc property access check inside  p/3 instead of the model access.

(cherry picked from commit d58831fa62e76bc9d0871c159c9b0fef723a1ac4)