[PATCH] amdtp-stream: Checking a variable for zero before dividing