QPID-6088 : only reset the credit window if the credit window has been expanded

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1631712 13f79535-47bb-0310-9956-ffa450edef68