Since we already have similarly licensed 3-clause BSD files in the tree, and in particular in our minimal libc, move the fnmatch functionality from ext/ to lib/. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>