Kernel: Process::exec(): Check if path is a regular file
https://pubs.opengroup.org/onlinepubs/9699919799/functions/exec.html
[EACCES] The new process image file is not a regular file and the
implementation does not support execution of files of its
type.
Let's check whether the passed `path` is indeed a regular file.