Compatibility of cast search with axionlike interpretation of PVLAS results