Add missing definitions for the predicate `os::file_permission/2` for CxProlog, ECLiPSe, Lean Prolog, and Qu-Prolog