Fix a warning in the case of checking if the stockpile has a specific good.
Fix a warning in the case of checking if the stockpile has a specific good.

hemberger/smr,smrealms/smr,smrealms/smrv2.0,smrealms/smrv2.0,smrealms/smrv2.0,Curufir/smr,hemberger/smr,gamedevforks/smr,hemberger/smr,Curufir/smr,hemberger/smr,smrealms/smr,smrealms/smrv2.0,gamedevforks/smr,Curufir/smr,smrealms/smr,gamedevforks/smr,gamedevforks/smr