Fixed missing explicit convertion when using integer log2 with *vec1 types