Fixed the function that returns the current month for the credit card descriptor

Fix compiler warnings: use non-deprecated constants