libc: Add timespec_getres(3) as per C23.This also adds support for TIME_MONOTONIC to timespec_get(3).Reviewed by: allanjudeDifferential Revision: https://reviews.freebsd.org/D41524