perl-file-mimeinfo: update to 0.23 and fix build on darwin

Close #2508. The test also fails on x86_64-linux, disabling.