A record £41m of security funding was issued for mosques and related community sites last year