added null check to dispose() method
Merge pull request #3 from dls-controls/pvformula_patch

formula: added null check to dispose() method on PvFormulaFunction