Changed static used in RefHolderBase to ‘const static’

This change will stop the static analyzer from complaining about this code.